package com.xiaoq.sites.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.xiaoq.sites.entity.ActShowEntity;
import com.xiaoq.sites.repository.IActShowRepository;
import com.xiaoq.sites.service.IActShowService;
import com.xiaoq.vo.PagingVo;

//@Service(interfaceClass=ActShowServiceImpl.class, version="1.0.0")
@Component
public class ActShowServiceImpl implements IActShowService {
	
	@Autowired
	private IActShowRepository actShowRep;

	@Override
	public List<ActShowEntity> findActShow(String orgnizerId, PagingVo pvo, Long time) {
		
		return actShowRep.findActShow(orgnizerId, pvo, time);
	}

	@Override
	public boolean addActShow(ActShowEntity actShowEntity) {
		
		return actShowRep.addActShow(actShowEntity);
	}

	@Override
	public boolean editActShow(ActShowEntity actShowEntity) {
		
		return actShowRep.editActShow(actShowEntity);
	}

	@Override
	public boolean delActShow(String actShowId) {
		
		return actShowRep.delActShow(actShowId);
	}

	@Override
	public ActShowEntity getActShowDetail(String id) {
		
		return actShowRep.getActShowDetail(id);
	}


}
